home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / Snippets / Development Tools & Languages / MacApp C++ Load⁄dump / DemoTextDump 2 / DemoText.MAMake next >
Encoding:
Text File  |  1992-07-15  |  3.5 KB  |  96 lines  |  [TEXT/MPS ]

  1. # Copyright © 1984-1988 by Apple Computer Inc.  All rights reserved.
  2.  
  3. #    The user Make file. Customize this file to suit your particular application.
  4. #    Remember, an MAMake file is not needed if you have a single file application
  5. #    or the classic, magic 5 files application.
  6. #
  7. #    Look at the sample MAMake files as a guide.
  8. #    Open Basic Definitions to see what other Make variables exist.
  9.  
  10. #---------------------------------------------------------------------------------------------------
  11. #    List here the Application's Name
  12.  
  13. AppName = DemoText
  14. Creator = 'APP1'
  15.  
  16.  
  17. #---------------------------------------------------------------------------------------------------
  18. #    List any additional interfaces that your application is dependent on
  19. #    If they change, your ( magic 1 or 5 ) sources recompile
  20.  
  21. OtherInterfaces = "{SrcApp}DemoTextDump.h" ∂
  22.                        "{SrcApp}UDemoText.h"
  23.  
  24.  
  25. #---------------------------------------------------------------------------------------------------
  26. #    By default the MABuild links the above libraries, the necessary 
  27. #    MacApp files, and the files UAppName.p.o and MAppName.p.o.
  28. #    List any additional files that your program links with:
  29.  
  30. OtherLinkFiles = "{ObjApp}DemoTextDump.h.o"
  31.                             
  32.  
  33. #---------------------------------------------------------------------------------------------------
  34. #    Specify any -sn (segment alias) linker options that you want included.
  35. #    (Or to override MacApp's default mapping (in Basic Definitions))
  36.  
  37. # OtherSegMappings = "-sn mySeg1=NewSeg -sn mySeg2=NewSeg"
  38.  
  39.  
  40. #---------------------------------------------------------------------------------------------------
  41. #    List Rez files other than AppName.r that need to Rez'ed with the application
  42.  
  43. # OtherRezFiles = "{SrcApp}MyTemplates.r"
  44.  
  45.  
  46. #---------------------------------------------------------------------------------------------------
  47. #    List separately compiled resource files that the Rez file includes if you want to
  48. #    include more or less than the standard set.  Remember to "include" them.
  49. # OtherRsrcFiles = ∂
  50. #                            "{MAObj}Dialog.rsrc" ∂
  51. #                            "{MAObj}Printing.rsrc" ∂
  52. #                            "{ObjApp}MyResources.rsrc"
  53.  
  54. #---------------------------------------------------------------------------------------------------
  55. #    List the dependencies of the additional files (not covered by the 
  56. #    default rules) and special build rules, if any:
  57.  
  58. #    DemoTextDump.h
  59.  
  60. "{ObjApp}DemoTextDump.h.o"    ƒ  "{SrcApp}DemoTextDump.h" ∂
  61.                                         "{SrcApp}UDemoText.h"
  62.     {MAEcho} {EchoOptions} "Compiling:     DemoTextDump.h -- new dump file, this will take some time"
  63.     CPlus  -i {MACIncludes}  "{SrcApp}DemoTextDump.h" -dumpc "{ObjApp}DemoTextDump.h.dump" ∂
  64.         -o "{ObjApp}DemoTextDump.h.o" {CPlusOptions}
  65.  
  66. #    UDemoText.cp
  67.  
  68. "{ObjApp}UDemoText.cp.o"    ƒ     "{SrcApp}UDemoText.cp" ∂
  69.                                         "{SrcApp}UDemoText.h"  ∂
  70.                                         "{ObjApp}DemoTextDump.h.o" ∂
  71.                                         {MacAppIntf} ∂
  72.                                         {BuildingBlocksIntf}
  73.     {MAEcho} {EchoOptions} "Compiling:     UDemoText.cp"
  74.     CPlus "{SrcApp}UDemoText.cp" -load "{ObjApp}DemoTextDump.h.dump" ∂
  75.                 -o "{ObjApp}UDemoText.cp.o" {CPlusOptions}
  76.  
  77. #    MDemoText.cp
  78.  
  79. "{ObjApp}MDemoText.cp.o"    ƒ "{SrcApp}MDemoText.cp" ∂
  80.                                         {MacAppIntf} ∂
  81.                                         {BuildingBlocksIntf}
  82.     {MAEcho} {EchoOptions} "Compiling:     MDemoText.cp"
  83.     CPlus "{SrcApp}MDemoText.cp" -load "{ObjApp}DemoTextDump.h.dump" ∂
  84.                 -o "{ObjApp}MDemoText.cp.o" {CPlusOptions}
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91. #---------------------------------------------------------------------------------------------------
  92. #    If you extend the view types template, list here the .r file containing the extension.
  93.  
  94. #OtherViewTypesSrc = 
  95.  
  96.